﻿namespace dotnet_notes.Configs
{
    /// <summary>
    /// 文件配置类
    /// </summary>
    public static class FileConfig
    {
        public readonly static string[] ImageSuffixArray = [".jpg", ".jpeg", ".png", ".webp"];

        public readonly static string[] FileSuffixArray = [".pdf", ".xlsx", ".xls", ".docx", ".doc"];

        public static string Jpg { get; } = ImageSuffixArray[0];

        public static string Jpeg { get; } = ImageSuffixArray[1];

        public static string Png { get; } = ImageSuffixArray[2];

        public static string Webp { get; } = ImageSuffixArray[3];

        public static string Pdf { get; } = FileSuffixArray[0];

        public static string ExcelOf2007 { get; } = FileSuffixArray[1];

        public static string ExcelOf2003 { get; } = FileSuffixArray[2];

        public static string WordOf2007 { get; } = FileSuffixArray[3];

        public static string WordOf2003 { get; } = FileSuffixArray[4];
    }
}
